/******************************************************************************
*
* FILE:
*   tl_fabs.h
*
* RELATED FILES:
*
* DESCRIPTION:
*   This file contains the TargetLink implementation of fabs from standard C 
*   header math.h for support ISO-C "conformiing freestanding implementation".
*

*  AUTHOR(S):
*    D. Andoleit
*
*  Copyright (c) 2005 dSPACE GmbH, GERMANY
*
*  $Workfile: tl_fabs.h $ $Revision: 1.1 $ $Date: 2006/03/23 14:19:35GMT+01:00 $
******************************************************************************/

#ifndef __tl_fabs_h__
#define __tl_fabs_h__

/* fabs */
#define fabs(x)\
    ( ((x) < 0) ? -(x) : (x) )

#endif /* #ifndef __tl_fabs_h__ */
